Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix review #44

Merged
merged 9 commits into from
Sep 7, 2024
Merged

Fix review #44

merged 9 commits into from
Sep 7, 2024

Conversation

jparklev
Copy link
Contributor

@jparklev jparklev commented Sep 6, 2024

Sherlock audit updates

jparklev and others added 9 commits September 4, 2024 15:54
* Feat/mapping comment update (#18)

* feat: update mapping comments

* feat: clean comment

* Update contracts/PointTokenVault.sol

Co-authored-by: Josh Levine <[email protected]>

---------

Co-authored-by: Josh Levine <[email protected]>

* fix: ensure reward fees are only transferred if the reward token is set, sherlock 185

* fix: correct handling of non-18 decimal reward tokens

* fix: revert rewards collection change from different branch

* fix: revert rewards collection test change from different branch

* fix: correct reversion commit

---------

Co-authored-by: Steven Valeri <[email protected]>
…et (#36)

* Feat/mapping comment update (#18)

* feat: update mapping comments

* feat: clean comment

* Update contracts/PointTokenVault.sol

Co-authored-by: Josh Levine <[email protected]>

---------

Co-authored-by: Josh Levine <[email protected]>

* fix: ensure reward fees are only transferred if the reward token is set

* refactor: don't revert on collect fees if the reward token is unset, just skip the transfer

---------

Co-authored-by: Steven Valeri <[email protected]>
* Feat/mapping comment update (#18)

* feat: update mapping comments

* feat: clean comment

* Update contracts/PointTokenVault.sol

Co-authored-by: Josh Levine <[email protected]>

---------

Co-authored-by: Josh Levine <[email protected]>

* chore: trusted claimer -> trusted receiver

---------

Co-authored-by: Steven Valeri <[email protected]>
* Feat/mapping comment update (#18)

* feat: update mapping comments

* feat: clean comment

* Update contracts/PointTokenVault.sol

Co-authored-by: Josh Levine <[email protected]>

---------

Co-authored-by: Josh Levine <[email protected]>

* fix: separate deposit cap tracking from contract balance changes

* chore: move interaction below effects for deposit

---------

Co-authored-by: Steven Valeri <[email protected]>
* Feat/mapping comment update (#18)

* feat: update mapping comments

* feat: clean comment

* Update contracts/PointTokenVault.sol

Co-authored-by: Josh Levine <[email protected]>

---------

Co-authored-by: Josh Levine <[email protected]>

* chore: AGPL

---------

Co-authored-by: Steven Valeri <[email protected]>
* Feat/mapping comment update (#18)

* feat: update mapping comments

* feat: clean comment

* Update contracts/PointTokenVault.sol

Co-authored-by: Josh Levine <[email protected]>

---------

Co-authored-by: Josh Levine <[email protected]>

* chore: collect fees after effects

---------

Co-authored-by: Steven Valeri <[email protected]>
@jparklev jparklev merged commit 674c722 into main Sep 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant